package com.example.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.domain.pojo.Section;

public interface SectionService extends IService<Section> {

    //通过拼接 id 获取小节  redis
    Section getSectionBySectionId(String sectionId);

    //通过拼接id获取小节
    Section getSectionByIdSql(String sectionId);

    //通过id 获取小节  redis
    Section getSectionById(String id);

    //保存小节
    void saveSection(Section section);

    // 更新小节
    void updateSection(Section section);
}
